function s1_hello() {
	echo "hello, world!"
}

function s2_tell_who_i_am() {
	whoami
}
function s3_which_distro_do_i_use() {
	local name=$(grep '^NAME=' /etc/os-release | cut -d'"' -f2)
	echo "NAME=\"$name\""
}

function s4_view_my_cpu_arch() {
    uname -m
}

function s5_show_first_scsi_disk_size() {
    local disk_size=$(lsblk -l | grep '^sda' | grep disk |awk '{print $4+0}')
    if [ -n "$disk_size" ]; then
	    echo "scale=2;$disk_size / 1000" | bc
    else
	echo 1800
    fi	
}

function s6_show_main_memory_size_in_megabytes(){
	free -m | awk '/^Mem:/{print $2+0}'
}
